var express = require('express');
var app = express();
var config = require('./config')
var path = require('path')

path.resolve(__dirname, '../dist')
app.use(express.static(path.resolve(__dirname, '../dist')));

app.get('/', function (req, res) {
    res.sendFile('../dist/index.html');
});
console.log('config' + config.port)

app.listen(config.port, function () {
    console.log('listenning on port ' + config.port)
});